package com.oak.designmode._14_observeParttern;

/**
 * 主题
 * @Description
 * @Author guoxy
 * @Date 2020/3/18
 * @Version 1.0
 */
public class ConcreteSubject extends Subject {

    /**
     * 具体业务
     */
    public void doSomething() {
        //...
        System.out.println("发布一个消息");
        super.notifyObserver();
    }

}